/// <reference path="quadrant.d.ts" />
module Base {
    export class Page {
        public options: any;

        constructor(opts?: any) {
            this.options = opts;
            toastr.options = {
                positionClass: "toast-bottom-right",
                showDuration: 100,
                hideDuration: 200,
                timeOut: 1000
            };
        }

        Ready(): void {
            $(".navbar-nav [data-toggle=\"tooltip\"]").tooltip();
            $(".navbar-twitch-toggle").on("click", (event) => {
                event.preventDefault();
                $(".navbar-twitch").toggleClass("open");
            });
        }
    }
}